<div class="content" style="margin-top: 30px;">
    <style>
        .nav>li>a{
            padding: 8px 147px;
        }
        .label-badge{
            padding: 3px 5px;
        }
        .wamp{
            box-shadow: 0 0 5px #ccc;
            background: #fff;
            border-radius: 5px;
            padding-right: 0px;
            padding-left: 0px;
        }
    </style>
    <div class="row">
        <div class="col-md-2"></div>
        <div class="col-md-7 wamp">
            <div class="alert with-icon alert-success">
                <i class="icon-ok-sign"></i>
                <div class="content"><strong>Cocolait_admin 安装向导!</strong></div>
            </div>
            <ul class="nav nav-secondary">
                <li class="active"><a href="javascript:;"><span class="label label-badge label-success">1</span> 检测环境</a></li>
                <li><a href="javascript:;"><span class="label label-badge">2</span> 创建数据</a></li>
                <li><a href="javascript:;"><span class="label label-badge">3</span> 完成安装</a></li>
            </ul>
            <!--主体内容 START-->
            <div class="example" style="margin-top: 1px;">
                <table class="table table-borderless">
                    <thead>
                    <tr>
                        <th>环境检测</th>
                        <th>推荐配置</th>
                        <th>当前状态</th>
                        <th>最低要求</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>操作系统</td>
                        <td>类UNIX</td>
                        <td>{$data['os']}</td>
                        <td>不限制</td>
                    </tr>
                    <tr>
                        <td>PHP版本</td>
                        <td>>5.6.x</td>
                        <td>{$data['php_ves']}</td>
                        <td>5.6</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="example" style="margin-top: 20px;">
                <table class="table table-borderless">
                    <thead>
                    <tr>
                        <th>扩展检测</th>
                        <th>启用状态</th>
                        <th>状态</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>session</td>
                        {if condition="$data['is_session']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['session']}</td>
                    </tr>
                    <tr>
                        <td>PDO</td>
                        {if condition="$data['is_pdo']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['pdo']}</td>
                    </tr>
                    <tr>
                        <td>PDO_MySQL</td>
                        {if condition="$data['is_pdo_mysql']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['pdo_mysql']}</td>
                    </tr>
                    <tr>
                        <td>CURL</td>
                        {if condition="$data['is_curl']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['curl']}</td>
                    </tr>
                    <tr>
                        <td>GD</td>
                        {if condition="$data['is_gd']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['gd']}</td>
                    </tr>
                    <tr>
                        <td>MBstring</td>
                        {if condition="$data['is_mbstring']"}
                        <td>开启</td>
                        {else/}
                        <td>关闭</td>
                        {/if}
                        <td>{$data['mbstring']}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="example" style="margin-top: 20px;">
                <table class="table table-borderless">
                    <thead>
                    <tr>
                        <th>目录权限</th>
                        <th>写入</th>
                        <th>读取</th>
                    </tr>
                    </thead>
                    <tbody>
                        {foreach $data['folders'] as $k => $v}
                        <tr>
                            <td>{$k}</td>
                            {if condition="$v['w']"}
                            <td><i class="icon icon-check-circle"></i>可写</td>
                            {else/}
                            <td><i class="icon icon-remove-circle"></i>不可写</td>
                            {/if}
                            {if condition="$v['r']"}
                            <td><i class="icon icon-check-circle"></i>可读</td>
                            {else/}
                            <td><i class="icon icon-remove-circle"></i>不可读</td>
                            {/if}
                        </tr>
                        {/foreach}
                    </tbody>
                </table>
            </div>
            <div class="btn-group" style="margin-left: 430px;margin-bottom: 10px;">
                <input type="hidden" name="err" value="{$error}">
                <button type="button" class="btn btn-info" id="re-rf"><i class="icon icon-repeat"></i> 重新检测</button>
                <button type="button" class="btn btn-success" id="step2"><i class="icon icon-share-alt"></i> 下一步</button>
            </div>
            <!--主体内容 END-->
        </div>
        <div class="col-md-3"></div>
    </div>
    <div class="row" style="margin-top: 16px;">
        <div class="col-md-2"></div>
        <div class="col-md-7">
            <span style="margin-left: 428px;">© 2016 Cocolait后台整合系统</span>
        </div>
        <div class="col-md-3"></div>
    </div>
</div>

